package com.saber.accumulator;

import com.saber.bean.Report;
import com.saber.bean.ReportItem;

/**
 *
 * @author
 *
 */
public class None implements ReportItemAccumulator {

	/**
	 *
	 */
	private ReportItem.AccumulatorType[] supported = new ReportItem.AccumulatorType[] {ReportItem.AccumulatorType.NONE};

	@Override
	public ReportItem.AccumulatorType[] getSupported() {
		return supported;
	}

	@Override
	public void accumulate(Report report, ReportItem reportItem, Object value) {
		reportItem.setValue(String.valueOf(value));
	}

}
